<section class="sectionBg" [ngStyle]="tagData.cssStyle|styleFilter">
  <ng-container *ngFor="let item of tagData.data.data">
    <div class="main-box">
      <img *ngIf="item.img" class="left-img" [src]="item.img"
        onerror="this.src='assets/fw/expert_icon_chat_location.png'" [ngStyle]="item.imgCssStyle|styleFilter"
        appDebounceClick (debounceClick)="goPage($event,item)" />

      <div class="right-box">
        <p class="p-first" *ngIf="item.title" [ngStyle]="item.title?.leftText?.cssStyle|styleFilter">
          {{item.title?.leftText?.label}}</p>
        <div class="div-second" *ngIf="item.secondRow" [ngStyle]="item.secondRow?.box?.cssStyle|styleFilter">
          <span class="second-row-span" *ngIf="item.secondRow?.leftText?.label"
            [ngStyle]="item.secondRow?.leftText?.cssStyle|styleFilter">{{item.secondRow?.leftText?.label}}</span>
          <div class="spline" *ngIf="item.secondRow?.spline?.cssStyle"
            [ngStyle]="item.secondRow?.spline?.cssStyle|styleFilter"></div>
          <span class="second-row-span" *ngIf="item.secondRow?.rightText?.label"
            [ngStyle]="item.secondRow?.rightText?.cssStyle|styleFilter">{{item.secondRow?.rightText?.label}}</span>
        </div>
        <p class="p-third" *ngIf="item.thirdRow" [ngStyle]="item.thirdRow?.leftText?.cssStyle|styleFilter">
          <img class="leftTextIcon" *ngIf="item.thirdRow?.leftText?.icon" [src]="item.thirdRow?.leftText?.icon"
            onerror="this.src='assets/fw/zx_icon_time@3x.png'"
            [ngStyle]="item.thirdRow?.leftText?.iconCssStyle|styleFilter" />{{item.thirdRow?.leftText?.label}}
        </p>

        <p class="p-fourth" *ngIf="item.fourRow" [ngStyle]="item.fourRow?.iconList[0].cssStyle|styleFilter"
          appDebounceClick (debounceClick)="goPage($event,item.fourRow?.iconList[0])">
          {{item.fourRow?.iconList[0].label}}</p>
      </div>
    </div>
  </ng-container>
  <div class="noData" *ngIf="(tagData.data.data.length === 0)||( !tagData.data.data)">
    <span>暂无数据</span>
  </div>
  <ng-container *ngIf="!tagData.data.submit">
    <ion-infinite-scroll threshold="100px" (ionInfinite)="loadData($event)">
      <ion-infinite-scroll-content loadingSpinner="bubbles" loadingText="正在加载更多数据...">
      </ion-infinite-scroll-content>
    </ion-infinite-scroll>
  </ng-container>


</section>